<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Search Engine</title>
<link rel="stylesheet" href="css/smoothness/jquery-ui-1.9.1.custom.css">
<script src="js/jquery-1.8.2.js"></script>
<script src="js/jquery-ui-1.9.1.custom.js"></script>
</head>
<body>
	<script>
		$(function() {
			$("#tabs").tabs();
		});
	</script>

	<div id="tabs">
		<ul>
			<li><a href="#fragment-1"><span>中文求房信息搜索</span></a></li>
			<li><a href="#fragment-2"><span>中文租房信息搜索</span></a></li>
			<li><a href="#fragment-3"><span>英文租房信息搜索</span></a></li>
			<li><a href="#fragment-4"><span>二手房信息搜索</span></a></li>
		</ul>
		<div id="fragment-1">
			<s:form action="searchone" method="post" name="searchformone">
				<table>
					<tr>
						<td>城市</td>
						<td><s:select
								list="#{'北京':'北京','上海':'上海','天津':'天津','南京':'南京','广州':'广州','武汉':'武汉','深圳':'深圳'}"
								name="city" emptyOption="true" theme="simple" /></td>
					</tr>
					<tr>
						<td>价格下限</td>
						<td><s:textfield name="lowerBound" theme="simple" />元/月</td>
					</tr>
					<tr>
						<td>价格上限</td>
						<td><s:textfield name="upperBound" theme="simple" />元/月</td>
					</tr>
					<tr>
						<td>房屋状况</td>
						<td><s:select
								list="#{'-1':' ','1':'1','2':'2','3':'3','4':'4'}"
								value="#{'-1':' ' }" name="room1" theme="simple" /> 室<s:select
								list="#{'-1':' ','1':'1','2':'2','3':'3','4':'4'}"
								value="#{'-1':' ' }" name="room2" theme="simple" />厅<s:select
								list="#{'-1':' ','1':'1','2':'2'}" value="#{'-1':' ' }"
								name="room3" theme="simple" />卫</td>
					</tr>
					<tr>
						<td>详细信息</td>
						<td><s:textfield name="details" theme="simple" /></td>
					</tr>
					<tr>
						<td>是否使用xml输出</td>
						<td><s:select
								list="#{'否':'否 ','是':'是'}"
								value="#{'否':'否' }" name="ifUseXML" theme="simple" /> </td>
					</tr>
					<tr>
						<td></td>
						<td><s:submit label="走起" theme="simple" /></td>
					</tr>
				</table>
			</s:form>
		</div>
		<div id="fragment-2">
			<s:form action="searchtwo" method='post' name="searchtwoform">
				<table>
					<tr>
						<td>价格下限</td>
						<td><s:textfield name="lowerBound" theme="simple" />元/月</td>
					</tr>
					<tr>
						<td>价格上限</td>
						<td><s:textfield name="upperBound" theme="simple" />元/月</td>
					</tr>
					<tr>
						<td>房屋状况</td>
						<td><s:select
								list="#{'-1':' ','1':'1','2':'2','3':'3','4':'4'}"
								value="#{'-1':' ' }" name="room1" theme="simple" /> 室<s:select
								list="#{'-1':' ','1':'1','2':'2','3':'3','4':'4'}"
								value="#{'-1':' ' }" name="room2" theme="simple" />厅</td>
					</tr>
					<tr>
						<td>地区</td>
						<td><s:textfield name="region" theme="simple" /></td>
					</tr>
					<tr>
						<td>装潢情况</td>
						<td><s:select list="#{'':' ','简装':'简装','精装':'精装','毛坯':'毛坯'}"
								value="#{'':' ' }" name="decoration" emptyOption="true"
								theme="simple" /></td>
					</tr>
					<tr>
						<td>楼层</td>
						<td><s:select list="#{'':'','高':'高','中':'中','低':'低'}"
								value="#{'':' ' }" name="floor" emptyOption="true"
								theme="simple" /></td>
					</tr>
					<tr>
						<td>是否使用xml输出</td>
						<td><s:select
								list="#{'否':'否 ','是':'是'}"
								value="#{'否':'否' }" name="ifUseXML" theme="simple" /> </td>
					</tr>
					<tr>
						<td></td>
						<td><s:submit label="走起" theme="simple" /></td>
					</tr>
				</table>
			</s:form>
		</div>
		<div id="fragment-3">
			<s:form action="searchthree" method="post" name="searchthreeform">
				<table>
					<tr>
						<td>价格下限</td>
						<td><s:textfield name="lowerBound" theme="simple" />元/月</td>
					</tr>
					<tr>
						<td>价格上限</td>
						<td><s:textfield name="upperBound" theme="simple" />元/月</td>
					</tr>
					<tr>
						<td>地区</td>
						<td><s:textfield name="region" theme="simple" /></td>
					</tr>
					<tr>
						<td>楼层</td>
						<td><s:select list="#{'':'','1':'Flat','2':'House'}"
								value="#{'':''}" name="floor" emptyOption="true" theme="simple" /></td>
					</tr>
					<tr>
						<td>装潢情况</td>
						<td><s:textfield name="decoration" theme="simple" /></td>
					</tr>
					<tr>
						<td>是否使用xml输出</td>
						<td><s:select
								list="#{'否':'否 ','是':'是'}"
								value="#{'否':'否' }" name="ifUseXML" theme="simple" /> </td>
					</tr>
					<tr>
						<td></td>
						<td><s:submit label="走起" theme="simple" /></td>
					</tr>

				</table>
			</s:form>
		</div>
		<div id="fragment-4">
			<s:form action="searchfour" method='post' name="searchfourform">
				<table>
					<tr>
						<td>价格下限</td>
						<td><s:textfield name="lowerBound" theme="simple" />万</td>
					</tr>
					<tr>
						<td>价格上限</td>
						<td><s:textfield name="upperBound" theme="simple" />万</td>
					</tr>
					<tr>
						<td>房屋状况</td>
						<td><s:select
								list="#{'-1':' ','1':'1','2':'2','3':'3','4':'4'}"
								value="#{'-1':' ' }" name="room1" theme="simple" /> 室<s:select
								list="#{'-1':' ','1':'1','2':'2','3':'3','4':'4'}"
								value="#{'-1':' ' }" name="room2" theme="simple" />厅</td>
					</tr>
					<tr>
						<td>地区</td>
						<td><s:textfield name="region" theme="simple" /></td>
					</tr>
					<tr>
						<td>建造年份</td>
						<td><s:textfield name="year" theme="simple" />年</td>
					</tr>

					<tr>
						<td>装潢情况</td>
						<td><s:select list="#{'':'','简装':'简装','精装':'精装','毛坯':'毛坯'}"
								value="#{ '':''}" name="decoration" emptyOption="true"
								theme="simple" /></td>
					</tr>
					<tr>
						<td>楼层</td>
						<td><s:select list="#{'':'','高':'高','中':'中','低':'低'}"
								value="#{'':'' }" name=" floor" emptyOption="true"
								theme="simple" /></td>
					</tr>
					<tr>
						<td>是否使用xml输出</td>
						<td><s:select
								list="#{'否':'否 ','是':'是'}"
								value="#{'否':'否' }" name="ifUseXML" theme="simple" /> </td>
					</tr>
					<tr>
						<td></td>
						<td><s:submit label="走起" theme="simple" /></td>
					</tr>
				</table>
			</s:form>
		</div>
	</div>
</body>
</html>